package com.darren.framework.service.impl;
import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.darren.framework.dao.UserDao;
import com.darren.framework.entity.User;
import com.darren.framework.service.UserService;

/**
 * <pre>
 * *********************************************
 * Copyright DARREN
 * All rights reserved.
 * Description: TODO(description)
 * HISTORY:
 * *********************************************
 *  Version		Date		Author	   		Desc	
 *   v1.0       2018-04-11  Darren Zhou    Create

 * *********************************************
 * </pre>
 */

@Service
public class UserServiceImpl extends GenericServiceImpl<User,Long> implements UserService{
	
	@Resource
	private UserDao userDao;
	
	public User findByUserAcountOrMobile(String queryString){
		logger.info("login validate...");
		return userDao.findByUserAcountOrMobile(queryString);
	}
}
